package org.kzwl.comm.pojo.dto.news;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("新闻")
public class NewsDTO {

    @ApiModelProperty("新闻编号")
    private Integer cuNewsId;

    @ApiModelProperty("新闻标题")
    private String cuNewsTitle;

    @ApiModelProperty("来源")
    private String cuNewsSource;

    @ApiModelProperty("发布时间")
    private Date cuNewsDate;

    @ApiModelProperty("浏览量")
    private Long cuNewsBrowse;

    @ApiModelProperty("内容")
    private String cuNewsContent;

    @ApiModelProperty("发布人")
    private Integer cuUserId;

    @ApiModelProperty("分类 1.本县资讯 2 .文件通告 3.新闻资讯")
    private Integer cuCategoryId;

    @ApiModelProperty("镇馆ID")
    private Integer cuTownId;

    @ApiModelProperty("封面")
    private String cuNewsCover;

    @ApiModelProperty("h5")
    private String cuNewsUrl;
}
